package com.sbl.bajw.mapper;

import java.math.BigDecimal;
import java.util.HashMap;
import java.util.List;

import com.sbl.bajw.pc.model.PatrolModel;

public interface PatrolDao {
	
	public PatrolModel getLastPatrolInfo(String id);
	
	public PatrolModel getModel(String id);
	
	public HashMap<String, BigDecimal> getUserPatrolTime(String id);
	
	public List<HashMap<String, Object>> getListApp(String id);

	public void insert(PatrolModel model) throws Exception;
	
	public void update(PatrolModel model) throws Exception;
}
